package com.yun.space.entity;

import java.util.Date;

/**
 * 新闻 资讯中心
 * @author JiaQi
 *
 */
public class News {
	private Integer id;
	private String title;//标题
	private String pictures;//图片
	private String contents;//内容
	private Date putTime;//发布时间
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getPictures() {
		return pictures;
	}
	public void setPictures(String pictures) {
		this.pictures = pictures;
	}
	public String getContents() {
		return contents;
	}
	public void setContents(String contents) {
		this.contents = contents;
	}
	public Date getPutTime() {
		return putTime;
	}
	public void setPutTime(Date putTime) {
		this.putTime = putTime;
	}
	@Override
	public String toString() {
		return "News [id=" + id + ", title=" + title + ", pictures=" + pictures + ", contents=" + contents
				+ ", putTime=" + putTime + "]";
	}
	public News(Integer id, String title, String pictures, String contents, Date putTime) {
		super();
		this.id = id;
		this.title = title;
		this.pictures = pictures;
		this.contents = contents;
		this.putTime = putTime;
	}
	public News() {
	}
	
}
